package com.xcx.commoncore.request.logrequest;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@Data
public class LogRequest {



    @ApiModelProperty(name = "username",value = "用户名称;用户名称保存openid",required = false,example = "o1R-t5u2TfEVeVjO9CPGdHPNw-to")
    private String username;

    @ApiModelProperty(name = "appid",value = "用户appid",required = false,example = "id12312231312")
    private String appid;


    @ApiModelProperty(name = "mobile",value = "手机号码",required = false,example = "18751196233")
    private String mobile;

    @ApiModelProperty(name = "registerType",value = "注册/1微信等录，2手机验证码登陆",required = true,example = "1")
    @Min(value = 0)
    private Integer registerType;

    @ApiModelProperty(name = "code",value = "短信验证码",required = false)

    private String code;















}
